package com.sakura.mybatis.entity;

import java.util.Date;

/**
 * @author wangxinyuchuan
 * @version UserDO.java v1.0 2025/4/15 15:47 wangxinyuchuan Exp $
 */
public class UserDO {

    private Long id;

    private String userName;

    private Integer age;

    private Date createdTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "UserDO{" + "id=" + id + ", userName='" + userName + '\'' + ", age=" + age + ", createdTime="
               + createdTime + '}';
    }
}
